<template>
  <div>
    <p>$attrs与$listeners</p>
    <child-dom
      :foo="foo"
      :coo="coo"
      @upRocket="reciveRocket"
    />
  </div>
</template>
<script>
import childDom from './ChildDom'
export default {
  name: 'DemoNo',
  components: { childDom },
  data() {
    return {
      foo: 'Hello, world',
      coo: 'Hello,rui'
    }
  },
  methods: {
    reciveRocket() {
      alert('reciveRocket success')
    }
  }
}
</script>
